<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>表单属性验证</title>
</head>
<body>

<form action="" method="get">
    <input type="text" name="name" required>
    <input type="email" name="email" required>

    <input type="submit" value="提交">
</form>
</body>
</html>